<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="js/ext/resources/css/ext-all.css"/>
	<link rel="stylesheet" type="text/css" href="js/ext/resources/css/ext-patch.css"/>
	<script type="text/javascript" src="js/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="js/ext/ext-all.js"></script>
	<script type="text/javascript" src="js/rating/customerRating_FirstPDController.js"></script> 
	<link rel="stylesheet" type="text/css" href="css/left_tabmenu.css">
	<link rel="stylesheet" type="text/css" href="css/public.css">
	<link rel="stylesheet" type="text/css" href="css/rating_report.css"/>
	
	<script type="text/javascript" src="js/showmenu.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<script type="text/javascript">
function getBlock(ck,d)
  {
   var c = document.getElementById(ck);
   var d = document.getElementById(d);
   if(c.checked==true){
   d.style.display = "block";
   }
   else{
    d.style.display = "none";
    }
  }
</script>

<script language="javascript"> 
function printsetup(){ 
// 打印页面设置 
wb.execwb(8,1); 
} 
function printpreview(){ 
// 打印页面预览 

wb.execwb(7,1); 

} 

function printit() 
{ 
if (confirm('确定打印吗？')){ 
wb.execwb(6,6);
} 
} 
</script> 

  </head>

  <body class="body_bg"> 
<center>
 <table id="rating_report">

 <tr><th ><div id="header_bg"></div><span id="title">零售客户申请评分报告</span></th></tr>
 

 <tr><td>
 <table id="table_report_general">
 <tr><td><p class="item_name2">报告编号：</p><p class="item_value2">${reportPD.serialNo} </p></td></tr>
 <tr><td><p class="item_name2">客户名称：</p><p class="item_value2">${reportCustInfo.custName}</p></td></tr>
 <tr><td><p class="item_name2">客户号：</p><p class="item_value2">${reportCustInfo.custNo}</p></td></tr>
 </table>
 </td></tr>
 <tr><td>
	 <table id="table_cust_general" class="sub_table">
		 <tr><th class="subtitle">客户基本信息</th></tr>
		 <tr><td>
			 <table id="table_cust_general_info" class="sub_table_info">
			 	<tr><td><span class="item_name">客户号：</span><span class="item_value">${reportCustInfo.custNo}</span></td><td><span class="item_name">客户名称：</span><span class="item_value">${reportCustInfo.custName}</span></td><td><span class="item_name">性别：</span><span class="item_value">${DataDictionary['SexType'][reportCustInfo.sexType].itemName}</span></td></tr>
				 <tr><td><span  class="item_name">证件类别：</span><span class="item_value">${DataDictionary['CertType'][reportCustInfo.idtype].itemName}</span></td><td ><span class="item_name">证件号码：</span><span class="item_value">${reportCustInfo.idno}</span></td><td ><span class="item_name">婚姻状况：</span><span class="item_value">${DataDictionary['Mstatus'][reportCustInfo.mstatus].itemName}</span></td></tr>
				 <tr><td><span class="item_name">最高学历：</span><span class="item_value">${DataDictionary['GRADE'][reportCustInfo.grade].itemName}</span></td><td><span class="item_name">职业：</span><span class="item_value">${reportCustInfo.jobType}</span></td><td><span class="item_name">是否农户：</span><span class="item_value">${DataDictionary['YesNo'][reportCustInfo.isPeasant].itemName}</span></td></tr>
				 <tr><td><span class="item_name">通讯地址:</span><span class="item_value">${reportCustInfo.zipAdd}</span></td><td><span class="item_name">单位号码：</span><span class="item_value">${reportCustInfo.worktel}</span></td><td><span class="item_name">手机号码：</span><span class="item_value">${reportCustInfo.cellPhoneNo}</span></td></tr>
			 </table>
		</td></tr>
	 </table>
 </td></tr>
 <tr><td>
	 <table id="table_cust_pd" class="sub_table">
	 <tr><th class="subtitle">评分结果</th></tr>
	 <tr><td>
		 <table >
		 <tr><td class="subtitle_sub"><span>客户申请评分信息</span></td></tr>
		 <tr><td >
		 	<table id="table_cust_pd_info" class="sub_table_info">
			 	<tr><td><span class="item_name">评分结果：</span><span class="item_value">${reportPD.adjustValue}</span></td><td><span class="item_name">是否准入：</span><span class="item_value">${reportPD.secondPdlevel}</span></td><td><span class="item_name">评分模型：</span><span class="item_value">${reportPD.modelName}</span></td></tr>
				<tr><td><span class="item_name">最新评分发起机构：</span><span class="item_value">${reportPD.firstOrgId }</span></td><td><span class="item_name">最新评分发起人：</span><span class="item_value">${reportPD.firstUserId }</span></td><td><span class="item_name">最新评分认定时间：</span><span class="item_value">${reportPD.secondDate}</span></td></tr>
				<tr><td><span class="item_name">评分发起机构代码：</span><span class="item_value">${firstOrgNo }</span></td><td><span class="item_name">风险暴露分类：</span><span class="item_value">${reportCustInfo.exposureType }</span></td><td><span class="item_name"></span><span class="item_value"></span></td></tr>
			</table>	
		 </td></tr>
		 <tr><td>
		 	<table >
		 	<tr><td class="subtitle_sub1"><span>-特征项</span></td></tr>
		 	<tr><td>
		 		<table id="table_cust_pd_info_2" class="sub_table_info">
		 		<c:forEach var="a" items="${reportAdjustList}" varStatus="status">
		 		<tr><td width="15%"><span class="item_name">${a.itemTitle}:</span><span class="item_value1">${a.itemDescribe}</span></td></tr>
		 		</c:forEach>
		 		</table>
		 	</td></tr>
		 	</table>
		 </td></tr>
		 </table>
	 </td></tr>
	 </table>
 </td>
 </tr>
 <tr>
 <td>
 <table id="table_report_info" class="sub_table">
 <tr><th class="subtitle">评分报告信息</th></tr>
 <tr><td>
	 <table >
	 	<tr><td><span class="item_name">评分报告生成时间：</span><span class="item_value">${reportDate}</span></td><td><span class="item_name">评分发起人：</span><span class="item_value">${reportPD.firstUserId }</span></td><td><span class="item_name">评分报告编号：</span><span class="item_value">${reportPD.serialNo}</span></td></tr>
	 </table>
 </td></tr>
 </table>
 </td>
 </tr>
  <tr>
 <td>
 <table  id="table_report_comments" class="sub_table">
 <tr><th class="subtitle">关于评分结果的说明</th></tr>
 <tr><td><span class="item_name2">是否需要调整最新评分结果？</span><span class="item_value3"> <input type="checkbox" id="chk_yes"  onclick="getBlock('chk_yes','div_hidden')"/>&nbsp是&nbsp&nbsp;<input type="checkbox"/>&nbsp否</span>
 </td></tr>
 <tr><td>
 </td></tr>
 </table>
 </td>
 </tr>
  <tr>
 <td>
  <table id="table_report_suggest" class="sub_table" >
 <tr><th class="subtitle">审批意见</th></tr>
 <tr><td>
 	<table>
 	<tr><td><p class="item_name2">审批人：</p><p class="item_value2">&nbsp</p><p class="item_name2">审批人所在部门：</p><p class="item_value2">&nbsp</p><p class="item_value2">&nbsp</p><p class="item_value2">&nbsp</p><p class="item_name2">权限等级：</p><p class="item_value2">&nbsp</p></td></tr>
 	<tr><td colspan="3">
	 	<textarea rows="8" cols="100" style="resize: none;">
		</textarea>
	</td></tr>
 	</table>
 </td></tr>
 </table>
 </td>
 </tr>
 <tr><td>
	<table  id="table_report_approve" class="sub_table">
 	<tr><th class="subtitle">审批结果</th></tr>
 	<tr><td  colspan="3">
	 	<textarea rows="8" cols="100" style="resize: none;">
		</textarea>
	</td></tr>
 	</table>
 </td></tr>
 <tr><th ><span id="tail">广东清远农村商业银行股份有限公司</span><div id="tail_bg"></div></th></tr>
 </table>
 
<table id="table_button">
<tr>
 <td>
</td></tr>
</table>
 </center> </body>
</html>
